package com.example.flower_shop.vo.auth;

import com.example.flower_shop.vo.menu.MenuRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户权限信息")
public class AuthInfoRespVO {
    @Schema(description = "角色列表")
    private List<String> roles;
    @Schema(description = "权限列表")
    private List<String> perms;
    @Schema(description = "菜单列表")
    private List<MenuRespVO> menus;
}
